package com.example.permissionservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@TableName("roles")
@Schema(description = "角色实体类")
public class Role {
    @TableId("role_id")
    @Schema(description = "角色id 1 2 3")
    private int roleId;
    @TableField("role_code")
    @Schema(description = "角色码 super_admin user admin")
    private String roleCode;
}
